package com.lifesting.front;

import javax.faces.component.UIComponent;

import com.sun.facelets.FaceletContext;
import com.sun.facelets.tag.MetaRuleset;
import com.sun.facelets.tag.jsf.ComponentConfig;
import com.sun.facelets.tag.jsf.html.HtmlComponentHandler;

public class FilterHandler extends HtmlComponentHandler {

	public FilterHandler(ComponentConfig config) {
		super(config);
	}

	@Override
	protected MetaRuleset createMetaRuleset(Class type) {
		MetaRuleset rs = super.createMetaRuleset(type);
		rs.addRule(new FilterRule());
		return rs;
	}
	@Override
	protected void onComponentPopulated(FaceletContext ctx, UIComponent c,
			UIComponent parent) {
		super.onComponentPopulated(ctx, c, parent);
		
	}
}
